runtime.mheap.pages (field)
24 uses
runtime (current package)
malloc.go#L862: h.pages.enableChunkHugePages()
mgc.go#L1068: mheap_.pages.scav.index.nextGen()
mgc.go#L1119: pp.pcache.flush(&mheap_.pages)
mgcscavenge.go#L395: r := mheap_.pages.scavenge(n, nil, false)
mgcscavenge.go#L661: mheap_.pages.scav.releasedBg.Add(released)
mgcsweep.go#L430: releasedBg := mheap_.pages.scav.releasedBg.Load()
mgcsweep.go#L431: releasedEager := mheap_.pages.scav.releasedEager.Load()
mgcsweep.go#L437: mheap_.pages.scav.releasedBg.Add(-releasedBg)
mgcsweep.go#L438: mheap_.pages.scav.releasedEager.Add(-releasedEager)
mheap.go#L68: pages pageAlloc // page allocation data structure
mheap.go#L779: h.pages.init(&h.lock, &memstats.gcMiscSys, false)
mheap.go#L1196: *c = h.pages.allocToCache()
mheap.go#L1228: base, _ = h.pages.find(npages + extraPages)
mheap.go#L1236: base, _ = h.pages.find(npages + extraPages)
mheap.go#L1242: scav = h.pages.allocRange(base, npages)
mheap.go#L1247: base, scav = h.pages.alloc(npages)
mheap.go#L1255: base, scav = h.pages.alloc(npages)
mheap.go#L1329: released := h.pages.scavenge(bytesToScavenge, func() bool {
mheap.go#L1333: mheap_.pages.scav.releasedEager.Add(released)
mheap.go#L1509: h.pages.grow(h.curArena.base, size)
mheap.go#L1543: h.pages.grow(v, nBase-v)
mheap.go#L1639: h.pages.free(s.base(), s.npages)
mheap.go#L1661: released := h.pages.scavenge(^uintptr(0), nil, true)
proc.go#L5145: pp.pcache.flush(&mheap_.pages)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |